package com.cjh.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName wx_user
 */
@TableName(value ="wx_user")
@Data
public class WxUser implements Serializable {
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 昵称
     */
    private String nickName;

    /**
     * 0:男,1:女
     */
    private Integer gender;

    /**
     * 头像
     */
    private String avatarUrl;

    /**
     * 手机号码
     */
    private String phoneNumber;

    /**
     * 用户在当前小程序的唯一标识
     */
    private String openid;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}